package com.zqs.compareface;

import com.zqs.compareface.server.local.LocalDetectionFace;
import com.zqs.compareface.utils.ConnectionLocal;
import com.zqs.compareface.utils.impl.GetEachDirImagesUtil;
import org.opencv.core.Mat;

import java.io.File;
import java.util.List;


/**
 * @Program: face
 * @Description:
 * @Author: zqs
 * @Create： 2021-08-09-16:00
 */
public class Myapp {
    public static void main(String[] args) {
        //调用百度API
/*        CamStreamPullScreenshots camStreamPullScreenshots = new CamStreamPullScreenshots();
        camStreamPullScreenshots.getScreen();*/

        new GetEachDirImagesUtil().filesToMatLsit(new File(ConnectionLocal.FILE_PATH));
        LocalDetectionFace localDetectionFace = new LocalDetectionFace();
        localDetectionFace.pullAndShowWithThreadPool();
    }
}
